package cn.psvmc.cxzapi.model.order;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单协议表
 * @Author auto
 * @Date 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_order_contract")
public class TOrderContract implements Serializable {

    //订单协议id
    @TableId(value = "ocid", type = IdType.AUTO)
    private Integer ocid;

    //订单id
    @TableField("order_id")
    private Integer orderId;

    //协议类型
    @TableField("type")
    private Integer type;

    //协议文件地址
    @TableField("path")
    private String path;

    //待签署文件ID
    @TableField("file_id")
    private String fileId;

    //签署流程ID
    @TableField("sign_flow_id")
    private String signFlowId;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;


}
